{% extends "base.html" %}

{% block content %}
	<div class="section">
    	<h3>Settings</h3>
		<form class="form" id="custom-form" method="POST">
		
		<h4>Public Contributions</h4>
		
		<div class="field">
		<label for="disabled-contributions">Text displayed instead of public contributions form:
		<span class="tip">Leave empty to enable public contributions</span>
		</label>
		<textarea id="disabled-contributions" name="disabled_contributions">{{disabled_contributions}}</textarea>
		</div>

		<h4>CAPTCHA</h4>
		<div class="field">
		<label for="reCAPTCHA-public">Public reCAPTCHA Key for [{{SERVER_NAME}}]:
		<span class="tip">Used when submitting community libraries</span>
		</label>
		<input id="reCAPTCHA-public" name="recaptcha_public" value="{{recaptcha_public}}" />
		</div>
		
		<div class="field">
		<label for="reCAPTCHA-private">Private reCAPTCHA Key for [{{SERVER_NAME}}]:
		</label>
		<input id="reCAPTCHA-private" name="recaptcha_private" value="{{recaptcha_private}}" />
		</div>

		<div class="field">
		<input type="submit" name="save" value="Save" style="width: auto; margin-top: 1em"/>
		</div>		
		
    	</form>
    </div>
{% endblock %}

{% block html_body_end %}
<script src="/assets/js/admin/main.js"></script>
{% endblock %}